package com.yy.service;

import com.yy.bean.Employee;

import java.util.List;

public interface EmployeeService {
//    获取所有雇员信息
    public List<Employee> getAllEmps();

    List<Employee> getEmpsByEmail(String email);

    List<Employee> getEmpsByName(String empName);

    int deleteEmpById(Integer empId)
            ;

    int updateEmpById(Employee employee);

    int addEmp(Employee employee);
}
